package com.nulldev.util.scripting.ScriptAPI.nashorn.polyfills;

@SuppressWarnings("serial")
public class PromiseException extends RuntimeException {
	private Object result;

	public PromiseException(final Object result) {
		this.result = result;
	}

	public Object getResult() {
		return result;
	}
}